package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Likerecord implements Serializable {
    private String lrno;

    private String bno;

    private String pno;

    private String lrnumber;

    private String lrdate;

    private String lrdescribe;

    private Integer lrstate;

    private static final long serialVersionUID = 1L;

    public String getLrno() {
        return lrno;
    }

    public void setLrno(String lrno) {
        this.lrno = lrno;
    }

    public String getBno() {
        return bno;
    }

    public void setBno(String bno) {
        this.bno = bno;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getLrnumber() {
        return lrnumber;
    }

    public void setLrnumber(String lrnumber) {
        this.lrnumber = lrnumber;
    }

    public String getLrdate() {
        return lrdate;
    }

    public void setLrdate(String lrdate) {
        this.lrdate = lrdate;
    }

    public String getLrdescribe() {
        return lrdescribe;
    }

    public void setLrdescribe(String lrdescribe) {
        this.lrdescribe = lrdescribe;
    }

    public Integer getLrstate() {
        return lrstate;
    }

    public void setLrstate(Integer lrstate) {
        this.lrstate = lrstate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Likerecord other = (Likerecord) that;
        return (this.getLrno() == null ? other.getLrno() == null : this.getLrno().equals(other.getLrno()))
            && (this.getBno() == null ? other.getBno() == null : this.getBno().equals(other.getBno()))
            && (this.getPno() == null ? other.getPno() == null : this.getPno().equals(other.getPno()))
            && (this.getLrnumber() == null ? other.getLrnumber() == null : this.getLrnumber().equals(other.getLrnumber()))
            && (this.getLrdate() == null ? other.getLrdate() == null : this.getLrdate().equals(other.getLrdate()))
            && (this.getLrdescribe() == null ? other.getLrdescribe() == null : this.getLrdescribe().equals(other.getLrdescribe()))
            && (this.getLrstate() == null ? other.getLrstate() == null : this.getLrstate().equals(other.getLrstate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getLrno() == null) ? 0 : getLrno().hashCode());
        result = prime * result + ((getBno() == null) ? 0 : getBno().hashCode());
        result = prime * result + ((getPno() == null) ? 0 : getPno().hashCode());
        result = prime * result + ((getLrnumber() == null) ? 0 : getLrnumber().hashCode());
        result = prime * result + ((getLrdate() == null) ? 0 : getLrdate().hashCode());
        result = prime * result + ((getLrdescribe() == null) ? 0 : getLrdescribe().hashCode());
        result = prime * result + ((getLrstate() == null) ? 0 : getLrstate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", lrno=").append(lrno);
        sb.append(", bno=").append(bno);
        sb.append(", pno=").append(pno);
        sb.append(", lrnumber=").append(lrnumber);
        sb.append(", lrdate=").append(lrdate);
        sb.append(", lrdescribe=").append(lrdescribe);
        sb.append(", lrstate=").append(lrstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}